page.tsx 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  1. import { Button } from "@/components/ui/button"
  2. import { ArrowLeftIcon, CalendarIcon, ClockIcon, TagIcon } from "lucide-react"
  3. import Link from "next/link"
  4. import Image from "next/image"
  5. import Navigation from "@/components/navigation"
  6. import Footer from "@/components/footer"
  7. import { ThemeProvider } from "@/components/theme-provider"
  8. import { Metadata } from "next"
  9. export async function generateMetadata({ params }: { params: Promise<{ locale: string }> }): Promise<Metadata> {
  10. const { locale } = await params
  11. const titles = {
  12. en: "Introducing Aiartools: Transform Your Images with AI | Aiartools Blog",
  13. zh: "Aiartools介绍:用AI的力量改变你的图像 | Aiartools 博客"
  14. }
  15. const descriptions = {
  16. en: "Discover Aiartools, the revolutionary AI-powered image transformation platform. Edit and transform images using simple text prompts with cutting-edge AI technology.",
  17. zh: "发现Aiartools,革命性的AI驱动图像转换平台。使用尖端AI技术,通过简单的文本提示编辑和转换图像。"
  18. }
  19. const title = titles[locale as keyof typeof titles] || titles.en
  20. const description = descriptions[locale as keyof typeof descriptions] || descriptions.en
  21. return {
  22. title,
  23. description,
  24. openGraph: {
  25. title,
  26. description,
  27. url: `https://aiartools.com/${locale}/blog/introducing-aiartools`,
  28. siteName: "Aiartools",
  29. locale: locale === 'zh' ? 'zh_CN' : 'en_US',
  30. type: 'article',
  31. images: [
  32. {
  33. url: 'https://aiartools.com/images/Transform Your Images with the Power of AI.png',
  34. width: 1000,
  35. height: 500,
  36. alt: 'Aiartools Introduction',
  37. },
  38. ],
  39. },
  40. twitter: {
  41. card: 'summary_large_image',
  42. title,
  43. description,
  44. images: ['https://aiartools.com/images/Transform Your Images with the Power of AI.png'],
  45. },
  46. alternates: {
  47. canonical: `https://aiartools.com/${locale}/blog/introducing-aiartools`,
  48. languages: {
  49. 'en': 'https://aiartools.com/en/blog/introducing-aiartools',
  50. 'zh': 'https://aiartools.com/zh/blog/introducing-aiartools',
  51. },
  52. },
  53. }
  54. }
  55. interface BlogPostProps {
  56. params: Promise<{ locale: string }>
  57. }
  58. export default async function IntroducingAiartools({ params }: BlogPostProps) {
  59. const { locale } = await params
  60. const t = (key: string) => {
  61. const translations: Record<string, Record<string, string>> = {
  62. en: {
  63. backToHome: "Back to Home",
  64. backToBlog: "Back to Blog",
  65. title: "Introducing Aiartools: Transform Your Images with the Power of AI",
  66. publishDate: "May 31, 2025",
  67. readTime: "5 min read",
  68. category: "Product",
  69. introduction: "Introduction",
  70. introText:
  71. "Today, we're excited to introduce Aiartools, a revolutionary AI-powered image transformation platform that allows you to edit and transform your images using simple text prompts. Whether you're a professional designer, a social media manager, or just someone who loves creating beautiful images, Aiartools makes image editing accessible, fun, and incredibly powerful.",
  72. whatIsAiartools: "What is Aiartools?",
  73. whatIsText:
  74. "Aiartools is an AI-powered image editing platform that understands natural language. Instead of learning complex editing software or manipulating dozens of sliders and controls, you simply describe what you want to change about your image, and our AI does the rest. Want to turn a daytime photo into a night scene? Add a cat to your living room photo? Transform your portrait into an anime character? With Aiartools, it's as simple as typing your request.",
  75. keyFeatures: "Key Features",
  76. feature1Title: "Smart Keyword Editing",
  77. feature1Text:
  78. "Use our powerful built-in keywords or define your own to modify styles, objects, and ambiances. Our AI understands context and can make intelligent edits based on your descriptions.",
  79. feature2Title: "Stylized Filters",
  80. feature2Text:
  81. "Instantly apply styles like 'Anime', 'Cyberpunk', 'Van Gogh', or 'Realistic' with one click. Transform your photos into artwork that matches your creative vision.",
  82. feature3Title: "Object Manipulation",
  83. feature3Text:
  84. "Seamlessly add, remove, or replace objects in your photos. Add a 'cat on the roof' or remove 'unwanted people' from your vacation photos with simple text commands.",
  85. feature4Title: "High-Resolution Export",
  86. feature4Text:
  87. "Export your creations in up to 4K resolution, ready for print and digital use. Our AI maintains image quality even through complex transformations.",
  88. howItWorks: "How It Works",
  89. howItWorksText: "Using Aiartools is incredibly simple:",
  90. step1: "1. Upload your image",
  91. step1Text: "Start by uploading the image you want to transform. We support all common image formats.",
  92. step2: "2. Describe your desired changes",
  93. step2Text: "Tell our AI what you want to change. Be as specific or creative as you like.",
  94. step3: "3. Generate and download",
  95. step3Text:
  96. "Our AI processes your request and generates the transformed image in seconds. Download it and share your creation with the world.",
  97. useCases: "Use Cases",
  98. useCasesText: "Aiartools can be used in countless creative ways:",
  99. useCase1: "• Social media content creation",
  100. useCase1Text: "Create eye-catching, unique images for your social media posts that stand out from the crowd.",
  101. useCase2: "• Marketing materials",
  102. useCase2Text:
  103. "Quickly generate professional-looking visuals for marketing campaigns without expensive photo shoots.",
  104. useCase3: "• Personal projects",
  105. useCase3Text:
  106. "Transform your personal photos into artistic masterpieces or fun, creative images to share with friends and family.",
  107. useCase4: "• E-commerce product photography",
  108. useCase4Text:
  109. "Enhance product photos or change backgrounds to showcase your products in different environments.",
  110. gettingStarted: "Getting Started",
  111. gettingStartedText: "Ready to transform your images with Aiartools? Getting started is easy:",
  112. gettingStarted1: "1. Sign up for a free account",
  113. gettingStarted1Text: "Our free plan gives you 5 image generations per month to try out the service.",
  114. gettingStarted2: "2. Upload your first image",
  115. gettingStarted2Text: "Choose any image from your collection that you'd like to transform.",
  116. gettingStarted3: "3. Experiment with prompts",
  117. gettingStarted3Text: "Try different descriptions to see the amazing transformations our AI can create.",
  118. conclusion: "Conclusion",
  119. conclusionText:
  120. "Aiartools represents the future of image editing – where complex technical skills are replaced by simple, natural language instructions. We're just getting started, and we have an exciting roadmap of new features and capabilities planned for the coming months.",
  121. conclusionText2:
  122. "We invite you to join us on this journey and experience the magic of AI-powered image transformation. Sign up today and start creating images limited only by your imagination.",
  123. tryItNow: "Try Aiartools Now",
  124. },
  125. zh: {
  126. backToHome: "返回首页",
  127. backToBlog: "返回博客",
  128. title: "Aiartools介绍:用AI的力量改变你的图像",
  129. publishDate: "2025年5月31日",
  130. readTime: "5分钟阅读",
  131. category: "产品",
  132. introduction: "介绍",
  133. introText:
  134. "今天,我们很高兴地介绍Aiartools,这是一个革命性的AI驱动图像转换平台,允许您使用简单的文本提示编辑和转换图像。无论您是专业设计师、社交媒体经理,还是只是喜欢创建美丽图像的人,Aiartools都使图像编辑变得易于使用、有趣且功能强大。",
  135. whatIsAiartools: "什么是Aiartools?",
  136. whatIsText:
  137. "Aiartools是一个能够理解自然语言的AI驱动图像编辑平台。您无需学习复杂的编辑软件或操作数十个滑块和控件,只需描述您想要对图像进行的更改,我们的AI就会完成其余的工作。想要将白天的照片变成夜景?在您的客厅照片中添加一只猫?将您的肖像转变为动漫角色?使用Aiartools,只需输入您的请求即可。",
  138. keyFeatures: "主要功能",
  139. feature1Title: "智能关键词编辑",
  140. feature1Text:
  141. "使用我们强大的内置关键词或定义您自己的关键词来修改样式、对象和氛围。我们的AI理解上下文,并可以根据您的描述进行智能编辑。",
  142. feature2Title: "风格化滤镜",
  143. feature2Text: "一键应用风格,如'动漫'、'赛博朋克'、'梵高'或'写实'。将您的照片转变为符合您创意愿景的艺术作品。",
  144. feature3Title: "对象操作",
  145. feature3Text:
  146. "无缝添加、删除或替换照片中的对象。通过简单的文本命令在'屋顶上添加猫'或从'度假照片中删除不需要的人'。",
  147. feature4Title: "高分辨率导出",
  148. feature4Text:
  149. "以高达4K的分辨率导出您的作品,可用于打印和数字使用。我们的AI即使在复杂的转换过程中也能保持图像质量。",
  150. howItWorks: "工作原理",
  151. howItWorksText: "使用Aiartools非常简单:",
  152. step1: "1. 上传您的图像",
  153. step1Text: "首先上传您想要转换的图像。我们支持所有常见的图像格式。",
  154. step2: "2. 描述您想要的更改",
  155. step2Text: "告诉我们的AI您想要更改什么。您可以根据自己的喜好具体或创意。",
  156. step3: "3. 生成和下载",
  157. step3Text: "我们的AI处理您的请求并在几秒钟内生成转换后的图像。下载它并与世界分享您的创作。",
  158. useCases: "使用场景",
  159. useCasesText: "Aiartools可以在无数创意方式中使用:",
  160. useCase1: "• 社交媒体内容创作",
  161. useCase1Text: "为您的社交媒体帖子创建引人注目、独特的图像,让您在人群中脱颖而出。",
  162. useCase2: "• 营销材料",
  163. useCase2Text: "无需昂贵的摄影拍摄,快速生成专业外观的营销活动视觉效果。",
  164. useCase3: "• 个人项目",
  165. useCase3Text: "将您的个人照片转变为艺术杰作或有趣、创意的图像,与朋友和家人分享。",
  166. useCase4: "• 电子商务产品摄影",
  167. useCase4Text: "增强产品照片或更改背景,以在不同环境中展示您的产品。",
  168. gettingStarted: "入门指南",
  169. gettingStartedText: "准备好用Aiartools转换您的图像了吗?入门很简单:",
  170. gettingStarted1: "1. 注册免费账户",
  171. gettingStarted1Text: "我们的免费计划每月提供5次图像生成,让您试用该服务。",
  172. gettingStarted2: "2. 上传您的第一张图像",
  173. gettingStarted2Text: "从您的收藏中选择任何您想要转换的图像。",
  174. gettingStarted3: "3. 尝试不同的提示",
  175. gettingStarted3Text: "尝试不同的描述,看看我们的AI可以创建的惊人转换。",
  176. conclusion: "结论",
  177. conclusionText:
  178. "Aiartools代表了图像编辑的未来——复杂的技术技能被简单、自然的语言指令所取代。我们才刚刚开始,我们计划在未来几个月内推出令人兴奋的新功能和能力。",
  179. conclusionText2:
  180. "我们邀请您加入我们的旅程,体验AI驱动的图像转换的魔力。立即注册并开始创建仅受您想象力限制的图像。",
  181. tryItNow: "立即试用Aiartools",
  182. },
  183. }
  184. return translations[locale]?.[key] || translations.en[key]
  185. }
  186. return (
  187. <ThemeProvider attribute="class" defaultTheme="light" enableSystem disableTransitionOnChange>
  188. <div className="min-h-screen bg-background">
  189. <Navigation locale={locale} />
  190. <div className="pt-20">
  191. <div className="container mx-auto px-4 sm:px-6 lg:px-8 py-12">
  192. <div className="max-w-4xl mx-auto">
  193. {/* Navigation */}
  194. <div className="flex flex-wrap gap-4 mb-8">
  195. <Link href={`/${locale}`}>
  196. <Button variant="ghost" size="sm">
  197. <ArrowLeftIcon className="w-4 h-4 mr-2" />
  198. {t("backToHome")}
  199. </Button>
  200. </Link>
  201. <Link href={`/${locale}/blog`}>
  202. <Button variant="ghost" size="sm">
  203. <ArrowLeftIcon className="w-4 h-4 mr-2" />
  204. {t("backToBlog")}
  205. </Button>
  206. </Link>
  207. </div>
  208. {/* Header */}
  209. <div className="mb-8">
  210. <h1 className="text-4xl font-bold mb-6">{t("title")}</h1>
  211. <div className="flex flex-wrap items-center gap-4 text-sm text-muted-foreground">
  212. <div className="flex items-center">
  213. <CalendarIcon className="w-4 h-4 mr-2" />
  214. {t("publishDate")}
  215. </div>
  216. <div className="flex items-center">
  217. <ClockIcon className="w-4 h-4 mr-2" />
  218. {t("readTime")}
  219. </div>
  220. <div className="flex items-center">
  221. <TagIcon className="w-4 h-4 mr-2" />
  222. {t("category")}
  223. </div>
  224. </div>
  225. </div>
  226. {/* Featured Image */}
  227. <div className="mb-10 rounded-xl overflow-hidden">
  228. <Image
  229. src="/images/Transform Your Images with the Power of AI.png"
  230. alt="Aiartools Introduction"
  231. width={1000}
  232. height={500}
  233. className="w-full object-cover"
  234. />
  235. </div>
  236. {/* Content */}
  237. <div className="prose prose-gray dark:prose-invert max-w-none space-y-8">
  238. <section>
  239. <h2 className="text-2xl font-semibold mb-4">{t("introduction")}</h2>
  240. <p className="text-muted-foreground leading-relaxed">{t("introText")}</p>
  241. </section>
  242. <section>
  243. <h2 className="text-2xl font-semibold mb-4">{t("whatIsAiartools")}</h2>
  244. <p className="text-muted-foreground leading-relaxed">{t("whatIsText")}</p>
  245. </section>
  246. <section>
  247. <h2 className="text-2xl font-semibold mb-4">{t("keyFeatures")}</h2>
  248. <div className="grid grid-cols-1 md:grid-cols-2 gap-6">
  249. <div className="space-y-2">
  250. <h3 className="text-xl font-medium">{t("feature1Title")}</h3>
  251. <p className="text-muted-foreground">{t("feature1Text")}</p>
  252. </div>
  253. <div className="space-y-2">
  254. <h3 className="text-xl font-medium">{t("feature2Title")}</h3>
  255. <p className="text-muted-foreground">{t("feature2Text")}</p>
  256. </div>
  257. <div className="space-y-2">
  258. <h3 className="text-xl font-medium">{t("feature3Title")}</h3>
  259. <p className="text-muted-foreground">{t("feature3Text")}</p>
  260. </div>
  261. <div className="space-y-2">
  262. <h3 className="text-xl font-medium">{t("feature4Title")}</h3>
  263. <p className="text-muted-foreground">{t("feature4Text")}</p>
  264. </div>
  265. </div>
  266. </section>
  267. <section>
  268. <h2 className="text-2xl font-semibold mb-4">{t("howItWorks")}</h2>
  269. <p className="text-muted-foreground mb-4">{t("howItWorksText")}</p>
  270. <div className="space-y-4">
  271. <div className="bg-muted/30 p-4 rounded-lg">
  272. <h3 className="font-medium mb-2">{t("step1")}</h3>
  273. <p className="text-muted-foreground">{t("step1Text")}</p>
  274. </div>
  275. <div className="bg-muted/30 p-4 rounded-lg">
  276. <h3 className="font-medium mb-2">{t("step2")}</h3>
  277. <p className="text-muted-foreground">{t("step2Text")}</p>
  278. </div>
  279. <div className="bg-muted/30 p-4 rounded-lg">
  280. <h3 className="font-medium mb-2">{t("step3")}</h3>
  281. <p className="text-muted-foreground">{t("step3Text")}</p>
  282. </div>
  283. </div>
  284. </section>
  285. {/* Example Transformations */}
  286. <section className="my-10">
  287. <div className="grid grid-cols-1 md:grid-cols-2 gap-6">
  288. <div className="rounded-lg overflow-hidden">
  289. <Image
  290. src="/images/Original Image.jpg"
  291. alt="Before transformation"
  292. width={500}
  293. height={300}
  294. className="w-full object-cover"
  295. />
  296. <p className="text-center text-sm text-muted-foreground mt-2">Original Image</p>
  297. </div>
  298. <div className="rounded-lg overflow-hidden">
  299. <Image
  300. src="/images/AI Transformed.jpg"
  301. alt="After transformation"
  302. width={500}
  303. height={300}
  304. className="w-full object-cover"
  305. />
  306. <p className="text-center text-sm text-muted-foreground mt-2">AI Transformed</p>
  307. </div>
  308. </div>
  309. </section>
  310. <section>
  311. <h2 className="text-2xl font-semibold mb-4">{t("useCases")}</h2>
  312. <p className="text-muted-foreground mb-4">{t("useCasesText")}</p>
  313. <div className="space-y-4">
  314. <div>
  315. <h3 className="font-medium">{t("useCase1")}</h3>
  316. <p className="text-muted-foreground">{t("useCase1Text")}</p>
  317. </div>
  318. <div>
  319. <h3 className="font-medium">{t("useCase2")}</h3>
  320. <p className="text-muted-foreground">{t("useCase2Text")}</p>
  321. </div>
  322. <div>
  323. <h3 className="font-medium">{t("useCase3")}</h3>
  324. <p className="text-muted-foreground">{t("useCase3Text")}</p>
  325. </div>
  326. <div>
  327. <h3 className="font-medium">{t("useCase4")}</h3>
  328. <p className="text-muted-foreground">{t("useCase4Text")}</p>
  329. </div>
  330. </div>
  331. </section>
  332. <section>
  333. <h2 className="text-2xl font-semibold mb-4">{t("gettingStarted")}</h2>
  334. <p className="text-muted-foreground mb-4">{t("gettingStartedText")}</p>
  335. <div className="space-y-4">
  336. <div>
  337. <h3 className="font-medium">{t("gettingStarted1")}</h3>
  338. <p className="text-muted-foreground">{t("gettingStarted1Text")}</p>
  339. </div>
  340. <div>
  341. <h3 className="font-medium">{t("gettingStarted2")}</h3>
  342. <p className="text-muted-foreground">{t("gettingStarted2Text")}</p>
  343. </div>
  344. <div>
  345. <h3 className="font-medium">{t("gettingStarted3")}</h3>
  346. <p className="text-muted-foreground">{t("gettingStarted3Text")}</p>
  347. </div>
  348. </div>
  349. </section>
  350. <section>
  351. <h2 className="text-2xl font-semibold mb-4">{t("conclusion")}</h2>
  352. <p className="text-muted-foreground mb-4">{t("conclusionText")}</p>
  353. <p className="text-muted-foreground">{t("conclusionText2")}</p>
  354. </section>
  355. <div className="text-center my-10">
  356. <Link href={`/${locale}`}>
  357. <Button
  358. size="lg"
  359. className="bg-gradient-to-r from-purple-600 to-blue-600 hover:from-purple-700 hover:to-blue-700 text-white"
  360. >
  361. {t("tryItNow")}
  362. </Button>
  363. </Link>
  364. </div>
  365. </div>
  366. </div>
  367. </div>
  368. </div>
  369. <Footer locale={locale} />
  370. </div>
  371. </ThemeProvider>
  372. )
  373. }